--INSERT STATEMENTS
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_S_APP_001', 'P', 'Load Balancer Successfully sent the message to process server');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_F_SCH_001', 'P', 'No process servers currently available so sent the task to scheduler');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_F_SVC_001', 'P', 'Service Locator failed to lookup process server queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_F_JMS_001', 'P', 'Got JMS Exception while sending task to process server queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_F_UNK_001', 'P', 'An unknown exception has been thrown causing transaction to roll back');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_P_APP_001', 'P', 'LBS is processing the request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_P_APP_002', 'P', 'Task consumed and entered into LBS Ready Queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'LBS_P_APP_003', 'P', 'Task removed from ready to transmission to process server LBS Ready Queue');
-- Process Server code
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_APP_000', 'S', 'Process server  successfully processed the task and sent the message to dispatcher');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_APP_000', 'F', 'General application error. Please refer to application log file for details');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_APP_001', 'F', 'Failed to pass the task to task handler after receiving the task from process server queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_APP_002', 'F', 'Unable to send email notification');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_APP_003', 'F', 'Failed to deliver JMS message to dispatcher');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_APP_005', 'F', 'Process server failure might have left the message');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SYS_000', 'F', 'An unknown system error has been thrown');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_APP_000', 'P', 'PRC is processing the request');

-- IP Sweep Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_MIN_001', 'F', 'Minimum Input required by IPSWEEP was not specified or hasn''t been configured');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_DSC_001', 'R', 'Download of script to remote device failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_DSC_002', 'R', 'Download of support files failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_UFN_001', 'R', 'Unique fn failed for client drv');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_XSC_001', 'R', 'Failed to executed script');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_CDR_001', 'R', 'Client drv didn''t returned any response');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_CDR_002', 'R', 'Client drv returned response in invalid format');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_CDR_003', 'R', 'Failed to do rexec to invoke client drv');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_RXT_001', 'R', 'Rexec timeout couldn''t be set');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_EXF_001', 'R', 'Fail to create unique file name for extra files');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_RSO_001', 'R', 'Failed to read contents of script out file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_EXC_001', 'R', 'Script execution failed on remote device');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_MCF_001', 'R', 'Failed to establish make connection to remote device');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_FTP_001', 'F', 'Failed to login even after trying all possible combinations');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_VAL_001', 'F', 'No login details have been specified');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_VAL_002', 'F', 'Required sweep script files are missing');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SWP_F_DYN_001', 'R', 'Dynamic Argument parsing failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_VAL_001', 'F', 'Failed as request properties don''t exists to generate iac file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_FIO_001', 'R', 'Failed to generate continue.iac file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_FIO_002', 'F', 'Failed to locate continue.iac template file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_FIO_003', 'F', 'Failed to read continue.iac template file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_FIO_004', 'R', 'Remote file name not specified');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IAC_F_FTP_001', 'R', 'Failed to transfer continue.iac file to device');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IPT_F_RBF_001', 'R', 'Failed to retrieve binary file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IPT_F_RTS_001', 'R', 'Retrieved file sizes don''t match');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IPT_F_CDR_004', 'R', 'Failed to Change mod using client drv command');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_IPT_F_CKS_001', 'R', 'Failed to perform checksum');
--IPTDS Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_000', 'F', 'IPTDS no response from remote system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_001', 'F', 'Process Server is at peak and only be able to take urgent request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_002', 'F', 'Invalid dispatcher command');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_003', 'F', 'Failed IPTDS handshaking');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_004', 'F', 'Failed retrieving system information');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_005', 'F', 'System information not found');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_006', 'F', 'Failed establishing ftp channel for IPTDS file upload');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_007', 'F', 'Invalid info reply from target system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_008', 'F', 'Do not get any response from target system after issuing command');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_009', 'F', 'Failed getting file from the target system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_010', 'F', 'CHF file missing or invalid required fields');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_011', 'F', 'Failed preparing CHF file for IPTDS transaction');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_012', 'F', 'Failed getting TDF file from target system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_013', 'F', 'Clientdrv communication error');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_014', 'F', 'Failed closing THF transaction');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_015', 'F', 'IPTDS Unknown Runtime Exception');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_016', 'F', 'Failed creating local directory for file transfer');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_017', 'F', 'Failed creating checksum for IPTDS uploaded file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_018', 'F', 'Catch Exception while processing THF');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_019', 'F', 'Catch Exception while processing CHF');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_TDS_020', 'F', 'Failed processing one/more THFs within the CHF');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_TDS_000', 'S', 'THF transaction complete successfully, data is ready in the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_TDS_000', 'P', 'PRC is processing IPTDS request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'TDS_S_REQ_000', 'P', 'Request is created from IPTDS and is valid');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'TDS_F_REQ_000', 'F', 'Request definition not found for the system. Invalid request');
--Dispatch Server Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_P_INIT_001', 'P', 'Task Object was initialized');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_R_SCH_001', 'P', 'Rescheduling task for later');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_ROUTE_001', 'F', 'Unable to Determine Task Route - Failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_ROUTE_002', 'F', 'Integrity of Route Invalid - Failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_ROUTE_003', 'F', 'Retry Count for task was reached - Failed' );
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_ROUTE_004', 'F', 'No Valid Request Defn found for Request - Failed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_P_PASS_001', 'P', 'Dispatcher Passed No issues');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_P_PASS_002', 'P', 'DSP Passed task to LBS queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_P_PASS_003', 'P', 'DSP Passed LBS Tasks to Active OnWatch Task Queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_UNKNOWN_001', 'F', 'Dispatcher unknown not routing path' );

-- PSS Server Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_S_PSS_001', 'P', 'PSS was able to successfully process the requests');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_S_REQ_001', 'P', 'Request added by PSS Client');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_001', 'F', 'System id is not entitled');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_002', 'F', 'Failed to retrieve system details from GSCC');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_003', 'F', 'System is non ip system we support sweeps only for IP systems');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_004', 'F', 'Sweep is not valid for the given modality');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_005', 'F', 'Sweep is not valid for modality model type combination');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_006', 'F', 'No login details available for system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_007', 'F', 'Duplicate system id in the request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_REQ_008', 'F', 'Sweep has expired for model type modality combination');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_S_USR_001', 'S', 'User successfully added by PSS Client after SSO Validation');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_S_USR_002', 'S', 'User successfully added by PSS Client as user was in white list');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_USR_001', 'F', 'Users email address is not from ge domain');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_USR_002', 'F', 'Users cannot be authenticated by SSO or whitelist');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_USR_003', 'F', 'User authentication failed because of runtime exception');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_MIN_001', 'F', 'Request type not available on sweep request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_MIN_002', 'F', 'System ids to sweep have not been specified');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PSS_F_MIN_003', 'F', 'From email address is not specified');
--Request Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'REQ_P_PROCESSING_001', 'P', 'Request is being processed with tasks still open');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'REQ_S_SUCCESS_001', 'S', 'Request completed Successfuly with all tasks');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'REQ_F_FAILED_001', 'F', 'Request Failed - One or more core tasks failed see logs');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'REQ_S_SUCCESS_002', 'S', 'Request complete Sucessfully with one or more externally dependent tasks failing');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'REQ_S_NEW_000', 'P', 'New Request');
-- Scheder Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_S_APP_000', 'P', 'Request complete Sucessfully in Scheduler');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_S_APP_001', 'P', 'Successfully scheduled for on watch wakeup task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_APP_000', 'F', 'General Scheduler Error');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_APP_001', 'F', 'Scheduler failed to deliver request or task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_APP_002', 'F', 'Scheduler failed to generate and dispatch request according to scheduled time');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_APP_003', 'F', 'Scheduler marking the task as failed as on watch wakeup has failed or succeeded but still the system hasn''t picked the onwatch task from receiver');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_APP_004', 'F', 'Scheduler failed to created onwatch wakeup task and dispatch it to dispatcher');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'SCH_F_SYS_000', 'F', 'Scheduler has thrown unknown system error has been thrown');
-- OnWAtch Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_001', 'F', 'System information does not exist in the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_002', 'F', 'Failed to retrieve system information');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_003', 'F', 'Failed uploading file to the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_004', 'F', 'Failed extracting uploaded file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_005', 'F', 'Unable to create respository to store uploaded files');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_006', 'F', 'Failed uploading file to the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_007', 'F', 'Failed create checksum for upload file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_008', 'F', 'Task is not in the AutoSC');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_009', 'F', 'Failed retrieving requested file from the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_010', 'F', 'Received runtimeException. Please refer server log for details');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_011', 'F', 'System which makes download request does not own the task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_012', 'F', 'Error retrieving the status report file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_013', 'F', 'Error parsing the status report. Status report may have invalid format');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_014', 'F', 'Error creating XML parser to process status report');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_015', 'F', 'Error parsing the status report because of IO error');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_016', 'F', 'OnWatch task execution failure');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_017', 'F', 'Status Report has different task Id than the request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_018', 'F', 'Command file does not exist');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_019', 'F', 'System property from the remote system is not the same as equivalent in the back office');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_020', 'F', 'Error delivering Onwatch task to the remote system');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_021', 'F', 'Error adding task to the taskList xml document. Please check AutoSC configuration against the task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_022', 'F', 'Request definition is not defined');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_023', 'F', 'Onwatch command file is either not defined or the file does not exist');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_024', 'F', 'User executing the Onwatch command is not defined');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_025', 'F', 'Request user is not defined for the request');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_026', 'F', 'Failed adding onwatch task to taskList');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_027', 'F', 'Failed preparing onwatch task to be delivered');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_028', 'F', 'File has different checksum');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_029', 'F', 'Onwatch task has been closed');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_030', 'F', 'Failed reading command file because of IOException');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_031', 'F', 'Failed performing regular expression');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_032', 'F', 'Unknown Prodiags task type');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_033', 'F', 'Cannot find reference command file');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_034', 'F', 'Failed loading prodiags task parameters');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_035', 'F', 'Failed downloading file because of invalid offset value');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_OWR_036', 'F', 'Failed processing onwatch request because of internal system error');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_001', 'P', 'OnWatch file upload is in process');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_002', 'P', 'OnWatch file download is in process');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_003', 'P', 'OnWatch task is submitted');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_004', 'P', 'OnWatch tasks is requested');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_005', 'P', 'OnWatch tasks is prepared to be delivered');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_P_OWR_006', 'P', 'OnWatch task has been added to the TaskList');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_OWR_001', 'S', 'OnWatch file upload success');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_OWR_002', 'S', 'OnWatch file download success');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_OWR_003', 'S', 'OnWatch task execution success');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_OWR_004', 'S', 'OnWatch taskList creation success');

-- File transfer codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_UID_001', 'R', 'Failed to generate a unique file name');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_NET_001', 'R', 'Failed to read the inet address of local host to generate a unique file names');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_VAL_001', 'R', 'No file transfer template defined for task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_VAL_002', 'R', 'Connection details are necessary for non copy file transfer tasks');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_VAL_003', 'R', 'No files available to even try to transfer');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_REX_001', 'R', 'Invalid regular expression syntax defined for file name pattern');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_FTP_001', 'R', 'Failed to transfer one or more of required files');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_LOG_001', 'R', 'Failed to login to remote system with provided info');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_SFTP_F_INIT_001', 'R', 'Failed to initialize file sftp command');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_PAR_001', 'R', 'Invalid property option');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_FT_F_PAR_002', 'R', 'Property Name not defined');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_S_FT_001', 'S', 'File has been successfully transferred');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_FT_001', 'F', 'Failed to transfer file');

-- Onwatch codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_MCF_001', 'R', 'Onwatch failed to establish make connection');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_VAL_001', 'R', 'insite users passcode not defined for onwatch task to be invoked');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_RES_001', 'R', 'No Response received for onwatch task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_RES_002', 'R', 'More than one response message received or received failure message');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_CON_001', 'R', 'Failed to connect/login to the device');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_ONW_F_EXC_001', 'R', 'Failed to execute or get a response');

-- Shem codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_001', 'F', 'Failed loading guidance');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_002', 'F', 'Failed finding request for task');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_003', 'F', 'Failed creating file data set');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_004', 'F', 'Failed setting up magnet monitor processor');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_005', 'F', 'Failed processing request data set');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_006', 'F', 'Failed processing event');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_007', 'F', 'Error reading from data source because IOException');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_008', 'F', 'Record reader not open');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_009', 'F', 'Magnet Monitor format is not correct');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_010', 'F', 'XML parser is not defined');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_011', 'F', 'System is not found in PPADS sites');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_012', 'F', 'Cannot find guidance for given data source');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_013', 'F', 'No processing defined for given function');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_014', 'F', 'PPADS sites directory do not exist');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_015', 'F', 'Internal Error. Incorrect use of class, please contact AutoSC support team');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_016', 'F', 'Guidance file does not exist');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_017', 'F', 'Failed parsing guidance file with XML parser');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_SHM_018', 'F', 'Failed loading guidance from guidance file');

-- Prodiags codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_PRD_001', 'F', 'Prodiags schedule task does fulfill required parameter requirement');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'PRC_F_PRD_002', 'F', 'Unable to validate parameters of given prodiags task');

--Error Handler Codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'EHM_TMR_001', 'F', 'Task being marked as failed by Error Handler MDP');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'EHM_RMR_001', 'F', 'Request being marked as failed by Error Handler MDP');

-- Dispatcher Unregulated codes
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_P_PASS_004', 'P', 'Dispatcher passed the request to Process server queues');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_SVC_001', 'P', 'Service Locator failed to lookup process server queue');
INSERT INTO AUTOSC.CFG_CODE_DETAILS VALUES (CFG_CODE_ID_SEQ.nextVal, 'DSP_F_JMS_001', 'P', 'Got JMS Exception while sending task to process server queue');

COMMIT;